This chapter introduces you to the basics of using TextSpresso as a text editor. This includes such things as creating documents, editing them, using Undo/Redo, using the History Palette, and saving your documents.
If you are already familiar with these concepts you may wish to skip to the next chapter to learn about using TextSpresso's filters.
Though users often use the words document and file interchangeably, in this chapter each has a specific meaning. In this chapter a document is text that exists in TextSpresso's memory. A file is text that exists on a disk. A document may or may not have a corresponding file on disk.
You launch TextSpresso just like any other Macintosh application, by double-clicking on the TextSpresso icon in the Finder.
To create a new TextSpresso document, do one of the following:
You will see a new document window for viewing and editing your new text document.
TextSpresso can open any standard text file regardless of the creator. To open an existing text file do the following:
The text file will be opened up into a new document window.
By holding down the option key while performing step 1 above you can get TextSpresso to open virtually any Macintosh file as a text file. Be careful when using this feature! Editing a non-text file in TextSpresso could cause damage to the file making it unreadable within its native application. You should only edit copies of non-text files.
Like with most Macintosh applications, whenever you make a change to a document that change occurs only in RAM. Whether you're typing some text or applying a complex filter, the results are not recorded to a disk file until you explicitly save your document. To save a TextSpresso document to a file on disk, do one of the following:
If you wish to save only a subset of the text in an open document, do the following:
To close an open TextSpresso document, do one of the following:
If you have not saved the document since the last change, TextSpresso will first ask you if you would like to save it.
Holding down the option key while selecting Close or clicking the close box closes all open documents.
You edit a TextSpresso document just like you would any Macintosh document. After you've opened it you can begin typing or you can select one of many commands from the Edit and Text menus.
Some of those commands, like Copy, require that you make a selection of one or more characters in the document before you can perform the command. They are dimmed until you select some text.
Other commands, like Paste, are performed at the current selection. If the blinking text cursor is in the middle of a sentence and you select Paste, then the text on the clipboard is inserted in the middle of that sentence. If, however, the entire sentence is selected, then the text is pasted over the sentence, replacing the selected characters.
Some commands, like Hard Wrap..., are applied to the selected text if there is any selected text. If not, they are automatically applied to a portion of the text surrounding the blinking cursor. In the case of Hard Wrap... that would be the entire document. In the case of Shift Left that would be the line the cursor is on.
Finally, Macintosh drag and drop is supported in document windows. You can drag text around within a document. You can also drag text to other applications and the desktop, and drop text from other applications or the desktop into your document.
TextSpresso is about editing and filtering text. As you go about working with your text you may perform an action you wish you hadn't. Most Macintosh applications include an Undo command which allows you to undo the last action you performed. If you undo your last action the command is typically toggled to say Redo. Select it again and your last action is redone.
TextSpresso goes a step further and provides multi-level Undo/Redo. Rather than remember just the very last action, TextSpresso remembers multiple prior actions for each open document, otherwise known as the document's history. The limit to the number of actions remembered for each open document is set in the Preferences window. It is preset to 10, but can be set as high as 100. You will learn more about the Preferences window in a later chapter.
Essentially everything you do which affects the document is remembered. As you perform distinct editing steps, those steps are remembered in the document's history cache. If you perform an action and the history cache is full, the oldest remembered action is discarded.
To Undo/Redo actions, do the following:
To jump to a specific point in your document's history do one of the following:
It's important to remember that jumping to a specific point in your document's history restores your document to its exact form after that action was performed. You're not undoing/redoing just that action, but all actions to that point.
Also, if you undo one or more actions and then perform a new action, all future actions are discarded and replaced with the new action. So if you perform 8 actions, jump back to the 2nd action, and then accidentally hit a key on your keyboard, actions 3-8 will be discarded and you will not be able to redo them. Keep this in mind whenever you undo one or more actions.
The following is a list of the text editing commands available in TextSpresso. Each command is listed with a short description of what it does.
File Menu
Edit Menu
Text Menu